package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

@FieldTypeAnnotation(tableName = "t_l_ck_palace_aide_change", desc = "皇城幕宾变更日志", autoSave = true, uploadCk = true)
public class LogPalaceAideChange extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "活动id", isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "玩家id", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "类型，0：加入；1：玩家遣散；2：自动遣散")
    private int type;
    @FieldTypeAnnotation(desc = "隶属幕宾玩家编号")
    private long aideUserId;
    @FieldTypeAnnotation(desc = "皇宫位置")
    private int aidePos;


    public LogPalaceAideChange(int activityId, long userId, int type, long aideUserId, int aidePos) {
        this.activityId = activityId;
        this.userId = userId;
        this.type = type;
        this.aideUserId = aideUserId;
        this.aidePos = aidePos;
    }

    public long getUserId() {
        return userId;
    }
}
